package com.fsc.service;

import com.fsc.entity.domain.StudentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fsc.entity.dto.StudentDTO;

import java.util.List;

/**
* @author 86183
* @description 针对表【student_info(学生信息表)】的数据库操作Service
* @createDate 2024-06-02 13:15:22
*/
public interface StudentInfoService extends IService<StudentInfo> {

    List<StudentInfo> getAllStudents();

    List<StudentInfo> getStudentsByTeacherId(int teacherId);
    List<StudentInfo> getStudentsByParentId(int parentId);

    String getStudentNameById(int studentId);

    StudentInfo select(int studentId);

    void update(StudentDTO studentDTO);
}
